home *** CD-ROM | disk | FTP | other *** search
- Path: prodigy.com!usenet
- From: MYCV33A@prodigy.com (Tony Stegall)
- Newsgroups: comp.lang.c++
- Subject: Printing commands for borland turbo c++
- Date: 24 Mar 1996 00:24:37 GMT
- Organization: Prodigy Services Company 1-800-PRODIGY
- Distribution: world
- Message-ID: <4j24o5$grg@useneta1.news.prodigy.com>
- NNTP-Posting-Host: innugap4-int.news.prodigy.com
- X-Newsreader: Version 1.2
-
- how in the heck do you send the output of a code to the printer?
- for instance if i have this
-
- #include <iostream.h>
- void main ()
- //variables
- char name[20];
- {
- cout<<"\nPlease enter your name";
- cin >>name;
-
- //the next line is the line i want to send to the printer
-
- cout <<"\nHello there " <<name;
- }
-
- i thought it was the cprn command but i can't figure out how to use it.
- please someone help me with this. Please send your reply to
- tstegall@prodigy.com
- thanks again.
-
- -
- TONY STEGALL tstegall@prodigy.com
-
-
-